﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Home.Web.Models.Category;
using Home.Web.Services.Carousel;

namespace Home.Web.Controllers
{
    [Route("api/Category")]
    public class CategoryController : ApiController
    {
        public List<Category> Get()
        {
            return CarouselService.GetCategories();
        }
    }
}
